Display Name = ""
Parallax Name = ""
Note = ""

CommonEvent 1
Name = "EV001"

  Page 0
    ShowTextAttributes(["granberia_fc4", 0, 0, 2])
    ShowText(["\\n<Granberia>So, you are my next opponent...\nSword, don't let me down!"])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["\\n<Referee>Well... begin the match!"])
    ChangeBattleBGM(["RPG::BGM(@name=\"boss_sitenno\", @volume=100, @pitch=100)"])
    ControlSwitches([2333, 2333, 0])
    BattleProcessing([0, 1265, false, false])
    ControlSwitches([2333, 2333, 1])
    ChangeBattleBGM(["RPG::BGM(@name=\"battle\", @volume=100, @pitch=100)"])
    ShowTextAttributes(["granberia_fc4", 2, 0, 2])
    ShowText(["\\n<Granberia>Such strength..."])
    ShowText(["My sword couldn't match it."])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["\\n<Referee>Luka defeated Granberia and won the tournament!\nThe winner shall receive a luxurious prize!"])
    CallCommonEvent([831])
    CallCommonEvent([889])
    Wait([60])
    ControlVariables([121, 121, 2, 0, 1])
    CallCommonEvent([901])
    ExitEventProcessing([])
    Empty([])

  Page 1
    ShowTextAttributes(["arumaeruma_fc2", 0, 0, 2])
    ShowText(["\\n<Alma Elma>Oh... my next opponent is you?\nLet's have plenty of fun♪"])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["\\n<Referee>Well... begin the match!"])
    ChangeBattleBGM(["RPG::BGM(@name=\"boss_sitenno\", @volume=100, @pitch=100)"])
    ControlSwitches([2333, 2333, 0])
    BattleProcessing([0, 1264, false, false])
    ControlSwitches([2333, 2333, 1])
    ChangeBattleBGM(["RPG::BGM(@name=\"battle\", @volume=100, @pitch=100)"])
    ShowTextAttributes(["arumaeruma_fc2", 6, 0, 2])
    ShowText(["\\n<Alma Elma>Ufufu, I couldn't do it.\nI can hardly stand..."])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["\\n<Referee>Luka defeated Alma Elma and won the tournament!\nThe winner shall receive a luxurious prize!"])
    CallCommonEvent([832])
    CallCommonEvent([889])
    Wait([60])
    ControlVariables([121, 121, 2, 0, 1])
    CallCommonEvent([901])
    ExitEventProcessing([])
    Empty([])

  Page 2
    ShowTextAttributes(["seitentaisei_fc1", 0, 0, 2])
    ShowText(["\\n<Sun Wukong>You're the one who will challenge Sun Wukong?!\nCome on, give it your all!"])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["\\n<Referee>Well... begin the match!"])
    ChangeBattleBGM(["RPG::BGM(@name=\"boss2\", @volume=100, @pitch=100)"])
    ControlSwitches([2333, 2333, 0])
    BattleProcessing([0, 1266, false, false])
    ControlSwitches([2333, 2333, 1])
    ChangeBattleBGM(["RPG::BGM(@name=\"battle\", @volume=100, @pitch=100)"])
    ShowTextAttributes(["seitentaisei_fc1", 2, 0, 2])
    ShowText(["\\n<Sun Wukong>What the hell is going on...\nI'll give you the win for today."])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["\\n<Referee>Luka defeated Sun Wukong and won the tournament!\nThe winner shall receive a luxurious prize!"])
    CallCommonEvent([836])
    CallCommonEvent([889])
    Wait([60])
    ControlVariables([121, 121, 2, 0, 1])
    CallCommonEvent([901])
    ExitEventProcessing([])
    Empty([])

  Page 3
    ShowTextAttributes(["morrigan_fc1", 0, 0, 2])
    ShowText(["\\n<Morrigan>So you're my opponent in the finals...\nNow, I will make you dried fish!"])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["\\n<Referee>Well... begin the match!"])
    ChangeBattleBGM(["RPG::BGM(@name=\"boss_lilith\", @volume=100, @pitch=100)"])
    ControlSwitches([2333, 2333, 0])
    BattleProcessing([0, 1253, false, false])
    ControlSwitches([2333, 2333, 1])
    ChangeBattleBGM(["RPG::BGM(@name=\"battle\", @volume=100, @pitch=100)"])
    ShowTextAttributes(["morrigan_fc1", 2, 0, 2])
    ShowText(["\\n<Morrigan>To lose so clumsily..."])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["\\n<Referee>Luka defeated Morrigan and won the tournament!\nThe winner shall receive a luxurious prize!"])
    CallCommonEvent([837])
    CallCommonEvent([889])
    Wait([60])
    ControlVariables([121, 121, 2, 0, 1])
    CallCommonEvent([901])
    ExitEventProcessing([])
    Empty([])

  Page 4
    ShowTextAttributes(["astaroth_fc1", 0, 0, 2])
    ShowText(["\\n<Astaroth>Are you to be my opponent?\nI'm sorry, but I won't go easy on you..."])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["\\n<Referee>Well... begin the match!"])
    ChangeBattleBGM(["RPG::BGM(@name=\"boss_lilith\", @volume=100, @pitch=100)"])
    ControlSwitches([2333, 2333, 0])
    BattleProcessing([0, 1255, false, false])
    ControlSwitches([2333, 2333, 1])
    ChangeBattleBGM(["RPG::BGM(@name=\"battle\", @volume=100, @pitch=100)"])
    ShowTextAttributes(["astaroth_fc1", 2, 0, 2])
    ShowText(["\\n<Astaroth>I lost...?"])
    ShowText(["What a shame..."])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["\\n<Referee>Luka defeated Astaroth and won the tournament!\nThe winner shall receive a luxurious prize!"])
    CallCommonEvent([837])
    CallCommonEvent([889])
    Wait([60])
    ControlVariables([121, 121, 2, 0, 1])
    CallCommonEvent([901])
    ExitEventProcessing([])
    Empty([])

  Page 5
    ShowTextAttributes(["lilith2_fc1", 0, 0, 2])
    ShowText(["\\n<Lilith>Now, shall we start the game?\nI'll entertain both you and the audience a lot..."])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["\\n<Referee>Well... begin the match!"])
    ChangeBattleBGM(["RPG::BGM(@name=\"boss_lilith\", @volume=100, @pitch=100)"])
    ControlSwitches([2333, 2333, 0])
    BattleProcessing([0, 1273, false, false])
    ControlSwitches([2333, 2333, 1])
    ChangeBattleBGM(["RPG::BGM(@name=\"battle\", @volume=100, @pitch=100)"])
    ShowTextAttributes(["lilith2_fc1", 2, 0, 2])
    ShowText(["\\n<Lilith>I've fallen behind you...\nNow, I'll praise your power."])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["\\n<Referee>Luka defeated Lilith and won the tournament!\nThe winner shall receive a luxurious prize!"])
    CallCommonEvent([837])
    CallCommonEvent([889])
    Wait([60])
    ControlVariables([121, 121, 2, 0, 1])
    CallCommonEvent([901])
    ExitEventProcessing([])
    Empty([])

CommonEvent 2
Name = "EV002"

  Page 0
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Would you like to go to the next floor?"])
    ShowChoices([["Not yet", "Proceed to next floor"], 1])
    When([0, "Not yet"])
      SetMoveRoute([-1, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=4, @parameters=[])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
      Unnamed(["RPG::MoveCommand(@code=4, @parameters=[])"])
      ExitEventProcessing([])
      Empty([])

    When([1, "Proceed to next floor"])
      ControlVariables([121, 121, 2, 0, 1])
      CallCommonEvent([901])
      ExitEventProcessing([])
      Empty([])

    ChoicesEnd([])
    Empty([])

CommonEvent 3
Name = "EV003"

  Page 0
    ConditionalBranch([1, 126, 0, 0, 0])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["\\n<Referee>With overwhelming strength, Granberia is poised to win the championship!\nFacing her is the champion of the previous tournament, Luka!"])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 126, 0, 1, 0])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["\\n<Referee>With overwhelming strength, Alma Elma is poised to win the championship!\nFacing her is the champion of the previous tournament, Luka!"])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 126, 0, 2, 0])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["\\n<Referee>With overwhelming strength, Sun Wukong is poised to win the championship!\nFacing her is the champion of the previous tournament, Luka!"])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 126, 0, 3, 0])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["\\n<Referee>With overwhelming strength, Morrigan is poised to win the championship!\nFacing her is the champion of the previous tournament, Luka!"])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 126, 0, 4, 0])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["\\n<Referee>With overwhelming strength, Astaroth is poised to win the championship!\nFacing her is the champion of the previous tournament, Luka!"])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 126, 0, 5, 0])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["\\n<Referee>With overwhelming strength, Lilith is poised to win the championship!\nFacing her is the champion of the previous tournament, Luka!"])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 4, 0])
      ShowTextAttributes(["alice_fc5", 2, 0, 2])
      ShowText(["\\n<Alice>This is a Colosseum battle...\nIf you don't have confidence in your strength, you might as well retreat."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 5, 0])
      ShowTextAttributes(["iriasu_fc4", 2, 0, 2])
      ShowText(["\\n<Ilias>Is this a Colosseum battle...\nIf you have no confidence in your strength, then retreating is an option."])
      Empty([])

    BranchEnd([])
    EraseEvent([])
    Empty([])

CommonEvent 4
Name = "EV004"

  Page 0
    FadeoutScreen([])
    ControlSwitches([41, 41, 1])
    ControlSwitches([52, 52, 1])
    ChangeSaveAccess([1])
    ControlSwitches([61, 61, 1])
    ControlSwitches([62, 62, 1])
    ControlSwitches([63, 63, 1])
    ControlSwitches([64, 64, 1])
    ControlSwitches([65, 65, 1])
    ControlSwitches([69, 69, 1])
    ControlSwitches([70, 70, 1])
    ControlSwitches([71, 71, 1])
    ControlSwitches([72, 72, 1])
    ControlSwitches([54, 54, 1])
    ControlSwitches([66, 66, 1])
    ControlSwitches([67, 67, 1])
    ControlSwitches([68, 68, 1])
    ControlVariables([131, 131, 0, 0, 0])
    ControlVariables([121, 121, 0, 0, 0])
    CallCommonEvent([112])
    ConditionalBranch([1, 121, 1, 122, 1])
      ControlVariables([122, 122, 0, 1, 121])
      Empty([])

    BranchEnd([])
    TransferPlayer([0, 576, 14, 50, 2, 2])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["With the renewal of the Labyrinth of Chaos, the past labyrinth got erased!"])
    ConditionalBranch([1, 912, 0, 0, 0])
      ConditionalBranch([0, 2332, 0])
        ConditionalBranch([0, 4, 0])
          Script(["delete_actor_ex(26)"])
          Empty([])
        BranchEnd([])
        ConditionalBranch([0, 5, 0])
          Script(["delete_actor_ex(5)"])
          Empty([])
        BranchEnd([])
        Empty([])
      BranchEnd([])
      Empty([])

    BranchEnd([])
    Wait([60])
    FadeinScreen([])
    EraseEvent([])
    Empty([])

  Page 1
    Empty([])
